package com.tianma315.core.trace.service;


import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.plugins.Page;

import com.tianma315.core.common.base.CoreService;
import com.tianma315.core.trace.domain.TraceabilityFileDO;
import com.tianma315.core.trace.vo.TraceabilityFileVO;


import java.util.List;

/**
 * 
 * <pre>
 * 溯源档案
 * </pre>
 * <small> 2020-02-21 09:31:41 | Aron</small>
 */
public interface TraceabilityFileService extends CoreService<TraceabilityFileDO> {

    List<TraceabilityFileDO> getTraceabilityFileDOByTraceOutId(Integer traceOutId);


    Page<TraceabilityFileVO> getTraceabilityFilePage(Integer pageNumber, Integer pageSize, TraceabilityFileDO traceabilityFileDTO);

    List<TraceabilityFileDO> getTraceabilityFileDOList();

    boolean updateStateById(Integer traceabilityFileId);

    JSONObject getDataByTraceabilityFileId(Integer id);

}
